//
//  ZDLeftCategoryCell.m
//  ZDPension
//
//  Created by 刘甲奇 on 2017/6/14.
//  Copyright © 2017年 maker. All rights reserved.
//

#import "ZDLeftCategoryCell.h"

@interface ZDLeftCategoryCell()
@property (weak, nonatomic) IBOutlet UIView *lineView;
@property (weak, nonatomic) IBOutlet UILabel *categoryNameLabel;

@end

@implementation ZDLeftCategoryCell

- (void)awakeFromNib {
    [super awakeFromNib];

}
- (void)setModel:(ZDSimpleCategoryModel *)model
{
    self.categoryNameLabel.text = model.gc_name;
    if (model.isSeleted)
    {
        self.lineView.hidden = NO;
        self.categoryNameLabel.textColor = LEOrangeColor;
    }else
    {
        self.lineView.hidden = YES;
        self.categoryNameLabel.textColor = [UIColor blackColor];
    }
}

@end
